package com.boot2523.myredis.r3;

import redis.clients.jedis.Jedis;

public class R2 {
    public static void main(String[] args) {
        Jedis j=new Jedis();
        //一条新闻的点赞人数
        j.sadd("mynews","tom","mary");
        System.out.println(j.smembers("mynews").size());
    }
}
